﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UCAccount_Registry.ascx.cs" Inherits="Control_Admin_UCAccount_Registry" %>
<style type="text/css">
    .style1 {
        width:400px;
        text-align:left;
    }
    .style2
    {
        height: 26px;
    }
</style>
<table class="style1">
    <tr>
        <td>
            <asp:Label ID="lblEmail" runat="server" Text="Email"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
            <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="*"></asp:Label>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="txtEmail" ErrorMessage="Email invalid" 
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">Email 
            invalid</asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblName" runat="server" Text="Name"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtName" runat="server" Height="22px"></asp:TextBox>
            <asp:Label ID="Label4" runat="server" ForeColor="Red" Text="*"></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtName" ErrorMessage="Name not empty">Name not empty</asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblAddress" runat="server" Text="Address"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblPhone" runat="server" Text="Phone"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
            <asp:Label ID="Label5" runat="server" ForeColor="Red" Text="*"></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="txtPhone" ErrorMessage="Phone not empty">Phone not empty</asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblSecurityCode" runat="server" Text="SecurityCode"></asp:Label>
        </td>
        <td>
            <asp:Label ID="lblsSecurityCode" runat="server" Font-Bold="True" 
                Font-Italic="True" Font-Overline="True" Font-Strikeout="False" 
                ForeColor="#99CC00"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblPassword" runat="server" Text="Password"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
            <asp:Label ID="Label6" runat="server" ForeColor="Red" Text="*"></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtPassword" ErrorMessage="Password not empty"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style2">
            <asp:Label ID="Label1" runat="server" Text="Confirm Password"></asp:Label>
        </td>
        <td class="style2">
            <asp:TextBox ID="txtConfirmPass" runat="server" TextMode="Password"></asp:TextBox>
            <asp:Label ID="Label7" runat="server" ForeColor="Red" Text="*"></asp:Label>
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToCompare="txtConfirmPass" ControlToValidate="txtPassword" 
                ErrorMessage="Confirm Password invalid">Confirm Password invalid</asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblFromDate" runat="server" Text="From Date"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtFromDate" runat="server"></asp:TextBox>
            <asp:Label ID="Label8" runat="server" ForeColor="Red" Text="mm/dd/yyyy"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblToDate" runat="server" Text="To Date"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txtToDate" runat="server"></asp:TextBox>
            <asp:Label ID="Label9" runat="server" ForeColor="Red" Text="mm/dd/yyyy"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            <asp:Label ID="lblMessages" runat="server" ForeColor="Red"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label2" runat="server" Text="Auto Payment"></asp:Label>
        </td>
        <td>
            <asp:RadioButtonList ID="rdlAutoPayment" runat="server" 
                RepeatDirection="Horizontal">
                <asp:ListItem Value="1">True</asp:ListItem>
                <asp:ListItem Selected="True" Value="2">False</asp:ListItem>
            </asp:RadioButtonList>
        </td>
    </tr>
    <tr>
        <td>
            &nbsp;</td>
        <td>
            <asp:Button ID="btnSubmit" runat="server" Text="Register" 
                onclick="btnSubmit_Click" />
            <asp:Button ID="btnUpdate" runat="server" Text="Update" 
                onclick="btnUpdate_Click" />
        </td>
    </tr>
</table>
